package org.ch00.test06;

import java.util.Random;

/**
 * @author ZJL
 * @date 2025-03-03
 */
public class MainTestHunter {
    public static void main(String[] args) {
        Hunter hunter = new Hunter();
        Antelope antelope = new Antelope();
        WildBoar wildBoar = new WildBoar();

        hunter.goHunting(antelope);
        System.out.println("=========================================");
        hunter.goHunting(wildBoar);
    }
}
